package com.cheifsteam.springframework;

import com.cheifsteam.springframework.context.ApplicationEvent;

/**
 * @author 屈燃希
 * @date 2025/2/18 17:43
 * @content
 */
public class CustomEvent extends ApplicationEvent {


    private Long id;


    private String message;

    public CustomEvent(Object source, Long id, String message) {
        super(source);
        this.id = id;
        this.message = message;
    }



    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
